package com.blog.blogservice.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 角色表(Role)实体类
 *
 * @author guanglin.ma
 * @since 2024-03-10 22:54:10
 */

@TableName("role")
public class Role {
    private static final long serialVersionUID = -57081159328767720L;

    public static final String FIELD_ROLE_ID = "roleId";
    public static final String FIELD_NAME = "name";
    public static final String FIELD_DESCRIPTION = "description";

    @TableId(type = IdType.AUTO)
    private Integer roleId;

    private String name;

    private String description;


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}

